package com.bbdjt.weixin.model;


import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.ibatis.type.Alias;
import java.io.Serializable;


import java.util.Date;

@Alias("hospital")
@Table(name = "hospital")
public class Hospital implements Serializable  {
//使用@Transient注解可以忽略字段,添加该注解的字段不会作为表字段使用
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	//医院ID							
	@Column(name = "id")
	private Integer id;
	//省ID							
	@Column(name = "province_id")
	private Integer provinceId;
	//城市ID							
	@Column(name = "city_id")
	private Integer cityId;
	//省名称							
	@Column(name = "province_name")
	private String provinceName;
	//城市名称							
	@Column(name = "city_name")
	private String cityName;
	@Column(name = "area_name")
	private String areaName;
	//医院名称							
	@Column(name = "hospital_name")
	private String hospitalName;
	//医院代码							
	@Column(name = "hospital_code")
	private String hospitalCode;
	//医院级别							
	@Column(name = "hospital_level")
	private String hospitalLevel;
	//医院等级							
	@Column(name = "hospital_grade")
	private String hospitalGrade;
	//医院类型							
	@Column(name = "hospital_type")
	private String hospitalType;
	//医院形式							
	@Column(name = "hospital_modality")
	private String hospitalModality;
	//医院地址							
	@Column(name = "hospital_address")
	private String hospitalAddress;
	//医院性质							
	@Column(name = "hospital_nature")
	private String hospitalNature;
	//热度等级							
	@Column(name = "hot_level")
	private Integer hotLevel;
	//邮政编码							
	@Column(name = "postcode")
	private String postcode;
	//首字母							
	@Column(name = "initial")
	private String initial;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}
	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}
	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}
	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}
	public String getHospitalName() {
		return hospitalName;
	}

	public void setHospitalName(String hospitalName) {
		this.hospitalName = hospitalName;
	}
	public String getHospitalCode() {
		return hospitalCode;
	}

	public void setHospitalCode(String hospitalCode) {
		this.hospitalCode = hospitalCode;
	}
	public String getHospitalLevel() {
		return hospitalLevel;
	}

	public void setHospitalLevel(String hospitalLevel) {
		this.hospitalLevel = hospitalLevel;
	}
	public String getHospitalGrade() {
		return hospitalGrade;
	}

	public void setHospitalGrade(String hospitalGrade) {
		this.hospitalGrade = hospitalGrade;
	}
	public String getHospitalType() {
		return hospitalType;
	}

	public void setHospitalType(String hospitalType) {
		this.hospitalType = hospitalType;
	}
	public String getHospitalModality() {
		return hospitalModality;
	}

	public void setHospitalModality(String hospitalModality) {
		this.hospitalModality = hospitalModality;
	}
	public String getHospitalAddress() {
		return hospitalAddress;
	}

	public void setHospitalAddress(String hospitalAddress) {
		this.hospitalAddress = hospitalAddress;
	}
	public String getHospitalNature() {
		return hospitalNature;
	}

	public void setHospitalNature(String hospitalNature) {
		this.hospitalNature = hospitalNature;
	}
	public Integer getHotLevel() {
		return hotLevel;
	}

	public void setHotLevel(Integer hotLevel) {
		this.hotLevel = hotLevel;
	}
	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	public String getInitial() {
		return initial;
	}

	public void setInitial(String initial) {
		this.initial = initial;
	}

}